Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move systemd config to a templating approach. #19

Merged
merged 3 commits into from Aug 20, 2020

Conversation

MichelDiz
Copy link
Contributor

@MichelDiz MichelDiz commented Aug 10, 2020

This change is Reviewable

Copy link

@darkn3rd darkn3rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, 3 unresolved discussions (waiting on @MichelDiz)

a discussion (no related file):
Nothing blocking, but just seems overly complex than to just cat a HERE doc and output to the desired service. Here we have to do eval on static file fetched from github.



getdgraph.sh, line 31 at r1 (raw file):

sudo_cmd=""
argVersion=
myShell=$(which bash)

As mentioneed, using which in current $USER context, and not dgraph user's context could come back to cause a problem later.


getdgraph.sh, line 250 at r1 (raw file):

  requires=$2
  requiredBy=$3
  command=$4

command is a reserved word in bash, but likely not cause a problem in this context.

Copy link
Contributor Author

@MichelDiz MichelDiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, 3 unresolved discussions (waiting on @darkn3rd and @MichelDiz)

a discussion (no related file):

Previously, darkn3rd (Joaquin Menchaca) wrote…

Nothing blocking, but just seems overly complex than to just cat a HERE doc and output to the desired service. Here we have to do eval on static file fetched from github.

Done.


@MichelDiz MichelDiz merged commit af7776a into master Aug 20, 2020
@MichelDiz MichelDiz deleted the micheldiz/addTemplate branch August 20, 2020 06:33
@MichelDiz MichelDiz restored the micheldiz/addTemplate branch August 20, 2020 06:33
@MichelDiz MichelDiz deleted the micheldiz/addTemplate branch August 20, 2020 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants